package com.utils;

import com.twilio.Twilio;
import com.twilio.converter.Promoter;
import com.twilio.rest.api.v2010.account.Message;
import com.twilio.type.PhoneNumber;

import java.net.URI;
import java.math.BigDecimal;

public class Example {
    // Find your Account Sid and Token at twilio.com/console
    public static final String ACCOUNT_SID = "ACf89e479a5df1b70f49c00a00b0157b52";
    public static final String AUTH_TOKEN = "9141b9242bbc1bf7db83f39d7930aa9d";

    public static void main(String[] args) {
        Twilio.init(ACCOUNT_SID, AUTH_TOKEN);
        Message message = Message.creator(
                new com.twilio.type.PhoneNumber("+8615811352745"),
                "MG37a9c3fbec1b24a825275ebffd674535",
                "hello zzy")
                .create();

        System.out.println(message.getSid());
    }
}
